package com.probox.common.entity.domain.platfom.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.probox.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class PlatformCmsVo {
    /**
     * $column.columnComment
     */
    //默认主键自增
    @TableId(value = "CMS_UID", type = IdType.AUTO)
    @ApiModelProperty(value = "主键uid")
    private Long cmsUid;
    /**
     * 类型(notice公告/platformInfo平台信息/information资讯）
     */
    @Excel(name = "类型(notice公告/platformInfo平台信息/information资讯）")
    @ApiModelProperty(value = "类型(notice公告/platformInfo平台信息/information资讯")
    private String cmsType;
    /**
     * 标题(项目名称)
     */
    @Excel(name = "标题(项目名称)")
    @ApiModelProperty(value = "标题(项目名称)")
    private String cmsTitle;
    @ApiModelProperty(value = "标题的icon")
    private String cmsIcon;
    /**
     * 标题图片
     */
    @Excel(name = "标题图片")
    @ApiModelProperty(value = "标题图片")
    private String titleImgUrl;
    /**
     * 资讯内容
     */
    @Excel(name = "资讯内容")
    @ApiModelProperty(value = "资讯内容")
    private String cmsContent;
    /**
     * 链接
     */
    @Excel(name = "链接")
    @ApiModelProperty(value = "链接")
    private String cmsLink;
    /**
     * 发布时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发布时间")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;
    /**
     * 发布人
     */
    @Excel(name = "发布人")
    @ApiModelProperty(value = "发布人")
    private Long publishUid;

    @ApiModelProperty(value = "发布人名称")
    private String publishName;

    /**
     * 排序
     */
    @Excel(name = "排序")
    @ApiModelProperty(value = "排序")
    private Integer dataPriority;
    /**
     * 状态（1有效发布/0未发布)
     */
    @Excel(name = "状态", readConverterExp = "状态（1有效发布/0未发布)")
    @ApiModelProperty(value = "状态")
    private String dataStatus;
    /**
     * $column.columnComment
     */
    @Excel(name = "状态", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty(hidden = true)
    private Long createUid;
    /**
     * $column.columnComment
     */
    @Excel(name = "状态", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty(hidden = true)
    private String createName;
    /**
     * $column.columnComment
     */
    @Excel(name = "状态", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty(hidden = true)
    private Date createTime;
    /**
     * $column.columnComment
     */
    @Excel(name = "状态", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty(hidden = true)
    private Long updateUid;
    /**
     * $column.columnComment
     */
    @Excel(name = "状态", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty(hidden = true)
    private String updateName;
    /**
     * $column.columnComment
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "状态", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty(hidden = true)
    private Date updateTime;
    /**
     * 是否推荐,0不推荐，1推荐
     */
    @Excel(name = "是否推荐,0不推荐，1推荐")
    @ApiModelProperty(hidden = true)
    private String recommend;
    /**
     * 视频
     */
    @Excel(name = "视频")
    @ApiModelProperty(value = "视频")
    private String titleVideoUrl;
    /**
     * 资讯类别
     */
    @Excel(name = "资讯类别")
    @ApiModelProperty(hidden = true)
    private String cmsClassCode;
    /**
     * 资讯上级类别
     */
    @Excel(name = "资讯上级类别")
    @ApiModelProperty(hidden = true)
    private String cmsClassPcode;
    /**
     * 平台ID
     */
    @Excel(name = "平台ID")
    @ApiModelProperty(hidden = true)
    private Long platformUid;

    private String cmsClassName;

    private String cmsClassPname;
}
